#
#
#	PACKAGE:	SpatialIndex
#

# --- Targets ----------------------------------------------------------------

default: all

all clean :
	@ echo; cd src; ${MAKE} $@
	@ echo; cd app; ${MAKE} $@
	@ echo; cd idl; ${MAKE} $@
	@ echo; cd DLM; ${MAKE} $@

libs :
	@ cd src; ${MAKE} all

apps : libs
	@ cd app; ${MAKE} all

idl: libs
	@ cd idl; ${MAKE} all

linux :
	cp make.config.linux make.config
	cd include; cp VarStr.hpp.linux VarStr.hpp; cp SpatialGeneral.h.linux SpatialGeneral.h

osf:
	cp make.config.osf make.config
	- cd include; cp VarStr.hpp.osf VarStr.hpp; cp SpatialGeneral.h.osf SpatialGeneral.h

make tidy :
	@ cd src; ${MAKE} $@
	@ cd app; ${MAKE} $@

